package org.shuma.goods.utils;

import lombok.Getter;

/**
 * @author : liuming
 * @date : 2024/6/18 下午3:13
 */

@Getter
public enum ProductScheduleStatus {
    UP(1, "上架"),
    DOWN(2, "下架");

    private Integer code;
    private String description;

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    ProductScheduleStatus(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
}
